package com.lw.demo1;

/**
 * @author LW
 * @2020/8/19 10:11
 */
public class Test1 {
    public static void main(String[] args) {
        //获取cpu的线程数
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}
